﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Lib.Controls;

public partial class App_form_Daotao_monhoc : fpage
{
    protected void Page_Load(object sender, EventArgs e)
    {

        if (!IsPostBack)
        {
            try
            {
                ScriptManager.GetCurrent(this).Services.Add(new ServiceReference("~/Service/wht_nsd.svc"));
                ScriptManager.GetCurrent(this).Services.Add(new ServiceReference("~/Service/wdt_ma.svc"));
                ten.Focus();
                bo_mon.DataSource = dm_dt.FDT_BO_MON_LKE();
                bo_mon.DataBind();

                string id_bm = bo_mon.SelectedValue;
                if(!string.IsNullOrEmpty(id_bm))
                {
                    MON_HOC.DataSource = dm_dt.FDT_MON_LKE(Lib.Utilities.LibConvert.ObjectToDouble(id_bm));
                }
            }
            catch (Exception ex)
            {
                Lib.Utilities.LibForm.Msg(this.Page, ex.Message);
            }
        }
    }
}